#include <iostream>
#include <vector>
using namespace std;
vector<int> v{1, 2, 3, 4, 5};
vector<int> &getRange()
{
    cout << "get vector" << endl;
    return v;
}
int main()
{
    for (int x : getRange())
        cout << x << " ";
    cout << endl;
    return 0;
}